﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QuestionInvestig.Model
{
    public class AnswerRecords
    {
        public string AnswersTime { get; set; }

        public string MemberId { get; set; }

        public string IdCardNumber { get; set; }

        public string Phone { get; set; }

        public int QuestionSettingId { get; set; }

        public string SerialId { get; set; }

        public string UserName { get; set; }

        public List<AnswerQuestion> AnswerQuestion { get; set; }
    }

    public class AnswerQuestion
    {
        public List<Answer> Answer { get; set; }

        public Question Question { get; set; }
    }

    public class Answer
    {
        public string Content { get; set; }

        public string ItemNo { get; set; }

        public int OrderNum { get; set; }

        public string OtherValue { get; set; }

        public string QuestionId { get; set; }
    }

    public class Question
    {
        public string QuestionId { get; set; }

        public string QuestionTitle { get; set; }

        public bool IsRequired { get; set; }

        public string Type { get; set; }

        public int OrderNum { get; set; }

        public List<QuestionItem> QuestionItem { get; set; }

    }

    public class QuestionItem
    {
        public string Content { get; set; }

        public bool IsHavingOther { get; set; }

        public bool IsMutex { get; set; }

        public string ItemNo { get; set; }

        public int OrderNum { get; set; }
    }
}
